<html>
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<title>HelloWorld</title>
<header></header>

<body>
    <div id="identify">
        用户名：<input type="text" v-model="name"/>
        <br/>
        {{ name }}
    </div>
    <script>
        window.onload = function () {
            var app = new Vue({
                el: '#identify',
                data: {
                    message: 'Hello World!',
                    name: 'Tom'
                }
            })
        }
        
    </script>
</body>

</html>